﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Silver.TaskbarFormDemo
{
    public class FormHelper
    {
        public void ShowForm(string ftitletext, string fcontenttext, Rectangle fRegionofFormTitle, Rectangle fRegionofFormTitlebar, Rectangle fRegionofFormContent, Rectangle fRegionofCloseBtn)
        {
            //titleText = ftitletext;
            //contentText = fcontenttext;
            //WorkAreaRectangle = Screen.GetWorkingArea(WorkAreaRectangle);
            //this.Top = WorkAreaRectangle.Height + this.Height;
            //FormBorderStyle = FormBorderStyle.None;
            //WindowState = FormWindowState.Normal;
            //this.SetBounds(WorkAreaRectangle.Width - this.Width, WorkAreaRectangle.Height - currentTop, this.Width, this.Height);
            //CurrentState = 1;
            //timer1.Enabled = true;
            //TitleRectangle = fRegionofFormTitle;
            //TitlebarRectangle = fRegionofFormTitlebar;
            //ContentRectangle = fRegionofFormContent;
            //CloseBtnRectangle = fRegionofCloseBtn;
            //ShowWindow(this.Handle, 4); //#define SW_SHOWNOACTIVATE 4 
        } 
    }
}
